package com.lsp.base.empty;

import android.support.annotation.DrawableRes;
import android.support.annotation.StringRes;

/**
 * 空页面资源
 *
 * @author com.lsp.ibxs
 * @created 16/11/28 15:08
 */
public class EmptyModel {
  @DrawableRes private int loadErrorImageResId;
  @StringRes private int loadErrorTextResId;
  @DrawableRes private int noDataImageResId;
  @StringRes private int noDataTextResId;
  @DrawableRes private int noNetworkImageResId;
  @StringRes private int noNetworkTextResId;

  public EmptyModel(@DrawableRes int loadErrorImageResId, @StringRes int loadErrorTextResId,
      @DrawableRes int noDataImageResId, @StringRes int noDataTextResId,
      @DrawableRes int noNetworkImageResId, @StringRes int noNetworkTextResId) {
    this.loadErrorImageResId = loadErrorImageResId;
    this.loadErrorTextResId = loadErrorTextResId;
    this.noDataImageResId = noDataImageResId;
    this.noDataTextResId = noDataTextResId;
    this.noNetworkImageResId = noNetworkImageResId;
    this.noNetworkTextResId = noNetworkTextResId;
  }

  public @DrawableRes int getLoadErrorImageResId() {
    return loadErrorImageResId;
  }

  public void setLoadErrorImageResId(@DrawableRes int loadErrorImageResId) {
    this.loadErrorImageResId = loadErrorImageResId;
  }

  public @StringRes int getLoadErrorTextResId() {
    return loadErrorTextResId;
  }

  public void setLoadErrorTextResId(@StringRes int loadErrorTextResId) {
    this.loadErrorTextResId = loadErrorTextResId;
  }

  public @DrawableRes int getNoDataImageResId() {
    return noDataImageResId;
  }

  public void setNoDataImageResId(@DrawableRes int noDataImageResId) {
    this.noDataImageResId = noDataImageResId;
  }

  public @StringRes int getNoDataTextResId() {
    return noDataTextResId;
  }

  public void setNoDataTextResId(@StringRes int noDataTextResId) {
    this.noDataTextResId = noDataTextResId;
  }

  public @DrawableRes int getNoNetworkImageResId() {
    return noNetworkImageResId;
  }

  public void setNoNetworkImageResId(@DrawableRes int noNetworkImageResId) {
    this.noNetworkImageResId = noNetworkImageResId;
  }

  public @StringRes int getNoNetworkTextResId() {
    return noNetworkTextResId;
  }

  public void setNoNetworkTextResId(@StringRes int noNetworkTextResId) {
    this.noNetworkTextResId = noNetworkTextResId;
  }
}
